#include "test.h"
void test1()
{
	SepList s1;
	SepListInit(&s1);
	SepListPushBack(&s1, 1);
	SepListPushBack(&s1, 2);
	SepListPushBack(&s1, 3);
	SepListPushBack(&s1, 4);
	SepListPushBack(&s1, 5);
	SepListPushBack(&s1, 6);

	SepListPopBack(&s1);
	SepListPopBack(&s1);




	SepListprintf(&s1);
	DestroyedSepList(&s1);

}
void test2()
{
	SepList s1;
	SepListInit(&s1);
	SepListPushFront(&s1, 7);
	SepListPushFront(&s1, 8);
	SepListPushFront(&s1, 9);
	SepListPopFront(&s1);
	SepListPopFront(&s1);
	SepListPopFront(&s1);
	SepListPopFront(&s1);
	

	SepListprintf(&s1);
	DestroyedSepList(&s1);
}
void test3()
{
	SepList s1;
	SepListInit(&s1);
	SepListPushFront(&s1, 6);
	SepListPushFront(&s1, 6);
	SepListPushFront(&s1, 6);
	SeqListInsert(&s1, 2, 1);
	SeqListInsert(&s1, 2, 2);
	SeqListInsert(&s1, 2, 3);
	SeqListInsert(&s1, 2, 4);
	SepListprintf(&s1);
	SeqListErase(&s1, 2);
	SeqListErase(&s1, 2);
	SeqListErase(&s1, 2);
	SeqListErase(&s1, 2);

	SepListprintf(&s1);
	DestroyedSepList(&s1);
}
int main()
{
	//test1();
	//test2();
	test3();
	return  0;
}